/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package modelo;

/**
 *
 * @author Nai
 */
public class ObraSocial {
    public ObraSocial(){
        
    }

    public ObraSocial(int id){
        this.idObraSocial = id;
    }

    public ObraSocial(String obra){
        this.obraSocial = obra;
    }
    
    private int idObraSocial;
     private String obraSocial;

    /**
     * @return the idObraSocial
     */
    public int getIdObraSocial() {
        return idObraSocial;
    }

    /**
     * @param idObraSocial the idObraSocial to set
     */
    public void setIdObraSocial(int idObraSocial) {
        this.idObraSocial = idObraSocial;
    }

    /**
     * @return the obraSocial
     */
    public String getObraSocial() {
        return obraSocial;
    }

    /**
     * @param obraSocial the obraSocial to set
     */
    public void setObraSocial(String obraSocial) {
        this.obraSocial = obraSocial;
    }

    public String toString() {
        return this.obraSocial;
    }
     
}
